package org.ohuyo.libra.server.quartz.impl;

import javax.annotation.Resource;

import org.ohuyo.libra.server.quartz.AbstractJob;
import org.ohuyo.libra.server.ticket.service.AppTicketService;
import org.quartz.JobExecutionContext;
import org.springframework.stereotype.Service;

/**
 * 
 * @author rabbit
 */
@Service("org.ohuyo.libra.server.appTicketCleanJob")
public class AppTicketCleanJob extends AbstractJob {

	@Resource(name = "org.ohuyo.libra.server.appTicketService")
	private AppTicketService appTicketService;

	protected void doJobImpl(JobExecutionContext arg0) {
		appTicketService.clean();
	}

}
